package com.lagou.worker.api;

/**
 * @ClassName MailService
 * @Description TODO
 * @Author xsq
 * @Date 2020/7/28 17:21
 **/
public interface MailService {


    /**
     * 把验证码发送到邮箱
     *
     * @param email
     * @param code
     * @return
     */

    Boolean sendEmail(String email, String code);

}
